import Home from "./pages/Home";
import MyLink from "./pages/MyLink";
import MySchema from "./pages/MySchema";
// import NotFound from './pages/NotFound';

const routes = [
    {
        path: "/home",
        component: Home,
        isPrivate: false
    },
    {
        path: "/link",
        component: MyLink,
        isPrivate: false
    },
    {
        path: "/schema",
        component: MySchema,
        isPrivate: false
    },
    {
        path: "/*",
        component: MySchema,
        isPrivate: true
    }
]

/* FIXME: 根目录/访问的时候，会被匹配到NotFound */
export default routes;
